package com.kingsoft.miot.bridge.pojo.manager;

import java.util.Date;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 管理人员列表
 * 
 * @author HUJIANQING
 *
 */
public class ManagerInfo {

	// 管理者ID
	private int manager_info_id;
	// 管理者姓名
	@NotBlank
	private String manager_info_name;
	// 管理者密码
	@NotBlank
	private String manager_info_password;
	// 管理者性别 0.女 1.男
	@NotBlank
	private boolean manager_info_sex;
	// 管理者手机号码
	@Length(min = 11, max = 11)
	private long manager_info_phone;
	// 管理者生日
	@NotEmpty
	private Date manager_info_birthday;
	// 管理者email
	@NotBlank
	@Email(message = "非合法的email")
	private String manager_info_email;
	// 角色 id
	private int group_info_id;
	// hotel id
	@NotEmpty
	private int hotel_info_id;
	// 区域id
	private int area_info_id;
	// 创建时间
	private Date manager_info_create;
	// 上次更新时间
	private Date manager_info_update;
	
	
	
	@Override
	public String toString() {
		return "ManagerInfo [manager_info_id=" + manager_info_id + ", manager_info_name=" + manager_info_name
				+ ", manager_info_password=" + manager_info_password + ", manager_info_sex=" + manager_info_sex
				+ ", manager_info_phone=" + manager_info_phone + ", manager_info_birthday=" + manager_info_birthday
				+ ", manager_info_email=" + manager_info_email + ", group_info_id=" + group_info_id + ", hotel_info_id="
				+ hotel_info_id + ", area_info_id=" + area_info_id + ", manager_info_create=" + manager_info_create
				+ ", manager_info_update=" + manager_info_update + "]";
	}

	public int getGroup_info_id() {
		return group_info_id;
	}

	public void setGroup_info_id(int group_info_id) {
		this.group_info_id = group_info_id;
	}

	public int getHotel_info_id() {
		return hotel_info_id;
	}

	public void setHotel_info_id(int hotel_info_id) {
		this.hotel_info_id = hotel_info_id;
	}

	public int getArea_info_id() {
		return area_info_id;
	}

	public void setArea_info_id(int area_info_id) {
		this.area_info_id = area_info_id;
	}

	public int getManager_info_id() {
		return manager_info_id;
	}

	public void setManager_info_id(int manager_info_id) {
		this.manager_info_id = manager_info_id;
	}

	public String getManager_info_name() {
		return manager_info_name;
	}

	public void setManager_info_name(String manager_info_name) {
		this.manager_info_name = manager_info_name;
	}

	public String getManager_info_password() {
		return manager_info_password;
	}

	public long getManager_info_phone() {
		return manager_info_phone;
	}

	public void setManager_info_phone(long manager_info_phone) {
		this.manager_info_phone = manager_info_phone;
	}

	public void setManager_info_password(String manager_info_password) {
		this.manager_info_password = manager_info_password;
	}

	public boolean isManager_info_sex() {
		return manager_info_sex;
	}

	public void setManager_info_sex(boolean manager_info_sex) {
		this.manager_info_sex = manager_info_sex;
	}

	public Date getManager_info_birthday() {
		return manager_info_birthday;
	}

	public void setManager_info_birthday(Date manager_info_birthday) {
		this.manager_info_birthday = manager_info_birthday;
	}

	public String getManager_info_email() {
		return manager_info_email;
	}

	public void setManager_info_email(String manager_info_email) {
		this.manager_info_email = manager_info_email;
	}

	public Date getManager_info_create() {
		return manager_info_create;
	}

	public void setManager_info_create(Date manager_info_create) {
		this.manager_info_create = manager_info_create;
	}

	public Date getManager_info_update() {
		return manager_info_update;
	}

	public void setManager_info_update(Date manager_info_update) {
		this.manager_info_update = manager_info_update;
	}

}
